package com.example.rmation.service;

import com.example.rmation.model.request.AddMessageRequest;
import com.example.rmation.model.request.UpdateMessageRequest;
import com.github.pagehelper.PageInfo;

public interface MessageService {
    PageInfo messageAll(Integer pageNum, Integer pageSize);

    void studentMessageUpdate(UpdateMessageRequest updateMessageRequest);

    PageInfo studentMessageLike(Integer pageNum, Integer pageSize, String name);

    void addMessage(AddMessageRequest addMessageRequest);

    PageInfo messageOneself(Integer pageNum, Integer pageSize, String username);
}
